package com.jy.rhin.facade.infra.controller.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
public class CDADocumentTemplateNodeDto extends CDADocumentNodeAttributeDto {
    @ApiModelProperty(value = "路径")
    private String path;
    @ApiModelProperty(value = "属性")
    private List<CDADocumentNodeAttributeDto> attributes;
    @ApiModelProperty(value = "基数")
    private String radix;
    @ApiModelProperty(value = "约束")
    private String constraint;
    @ApiModelProperty(value = "配置完成")
    private boolean config = false;
    @ApiModelProperty(value = "子节点")
    private List<CDADocumentTemplateNodeDto> children;
}
